package com.cuit.food.food.Yservice;

import com.cuit.food.ResturantToFood;
import com.cuit.food.food.Ydao.ResToFood;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ResToFoodService {
    @Autowired
    ResToFood Restofood;

    /**
     * 返回商店id对应的表
     * @param resid
     * @return
     */
    List<ResturantToFood> findAllByResId(String resid) {
        return Restofood.findAllByResId(resid);
    }


}
